-- Prefan Access Controller
-- GIMP Plugin

if not SERVER then return end

function PAC.Gimp( owner, ply )
	
	if PAC.IsGimmped( ply ) then
	
		ply.Gimmped = false
		
	else
	
		ply.Gimmped = true
		PAC.Print( PAC_CHAT_ALL, Color( 200, 50, 50 ), "has been gimmped!" )
		
	end
	
end
PAC.AddChatCommand( "gimp", "PLAYER", "moderator", PAC.Gimp )

function PAC.IsGimmped( ply )

	if ply.Gimmped then
	
		return true
		
	else return false end
	
end

function PAC.GimpMess( ply, text )

	if PAC.IsGimmped( ply ) then
	
		return "I like CHEESE!"
		
	end
	
end
PAC.AddHook( "PlayerSay", "PAC_GimpMess", PAC.GimpMess )

PAC.AddPlugin( "Fun Gimp", "Lets players speak their gimpish ways!", "Prefanatic" )

